import './assets/main.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import { Tabbar, TabbarItem ,Search,Field,Form, CellGroup,Tag ,Button,Toast,NavBar,NumberKeyboard,PullRefresh,Picker,Popup,Empty,TreeSelect ,Sidebar,SidebarItem ,
    CheckboxGroup,Checkbox,Popover,Cell,DatePicker,Cascader ,Tab,Tabs ,Badge,Icon,Collapse, CollapseItem,List,BackTop,ActionSheet ,Grid,GridItem ,Calendar,Uploader,Loading,
    DropdownMenu, DropdownItem} from 'vant';
import 'vant/lib/index.css';



import App from './App.vue'
import router from './router'
import './routerCheck';

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(Tabbar).use(TabbarItem).use(Search).use(Field).use(CellGroup).use(Tag).use(Button).use(Toast).use(NavBar).use(NumberKeyboard).use(Sidebar).use(Tab).use(Tabs)
.use(SidebarItem).use(Popup).use(Picker).use(TreeSelect ).use(PullRefresh ).use(Checkbox).use(CheckboxGroup).use(Popover).use(Cell).use(Form).use(DatePicker).use(Badge)
.use(Empty).use(Cascader).use(Icon).use(Collapse).use(CollapseItem).use(List).use(BackTop ).use(ActionSheet).use(Grid).use(GridItem).use(Calendar).use(Uploader)
.use(Loading)
.use(DropdownMenu).use(DropdownItem);

app.mount('#app')


